import Cook from 'js-cookie'

function useAuth() {
    const isLogin = Cook.get('token')?true: false
    return {
        isLogin
    }
}

export {
    useAuth
}